patchSimulavr: an AVR simulator - Patches: patch #6838, Still libbfd.a linking issues

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6838: Still libbfd.a linking issues

Submitter:  Onno Kortmann <onnokort>
Submitted:  Fri 22 May 2009 10:44:03 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  onnokort Open/Closed:  Closed
Component Version:  simulavrxx

Tue 23 Mar 2010 09:11:57 PM UTC, comment #3: 

tomk's new build system removes the need for this.

Onno Kortmann <onnokort>
Group Member
Sun 07 Jun 2009 10:15:49 AM UTC, comment #2: 

Python patch did not apply cleanly and order was important.
The new patch

buildsystem-three-in-one.patch

combines all three patches into one single patch
for the build system and applies cleanly to CVS HEAD.


(file #18237)

Onno Kortmann <onnokort>
Group Member
Sat 06 Jun 2009 11:09:38 AM UTC, comment #1: 

Posting the patches here as they are all build system related.

1. kbd-xbm-noclean.patch removes cleaning of the kbd.xbm file from the
Makefile.am. I think it should not be cleaned as it is in CVS.

It also makes the test-and-copy more robust, which will fail if
the build process is happening in the same directory as where the source is. Now the failure

make[2]: Zirkuläre Datei kbd.xbm <- kbd.xbm Abhängigkeit wird nicht verwendet.
test -r ./kbd.xbm || cp ./kbd.xbm ./kbd.xbm
cp: Aufruf von stat für „./kbd.xbm“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make[2]: * [kbd.xbm] Fehler 1                                                                                                                                                                             

is ignored.

2. pysimulavr-again.patch modifies Makefile.am so that libtool
is used for linking of _pysimulavr.so. On my amd64 system the old code ran into relocation errors.


(file #18233, file #18234)

Onno Kortmann <onnokort>
Group Member
Fri 22 May 2009 10:44:03 PM UTC, original submission:  

Hi,

I still have problems with the current autotools setup and needed to change the libbfd linking from .a to .so and also force dynamic
library generation by ldconfig by including "-rpath ${prefix}/lib" in the LDFLAGS.

I do not know whether this patch is a good idea, but it fixes the bfd issues for me, reliably.

Appended is my "make" output without the patch applied and the patch itself.

Onno Kortmann <onnokort>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18234:  pysimulavr-again.patch added by onnokort (1KiB - text/x-diff)
file #18233:  kbd-xbm-noclean.patch added by onnokort (512B - text/x-diff)
file #18183:  bfd-dynamic.patch added by onnokort (2KiB - text/x-diff)
file #18184:  make-message-bfd.txt added by onnokort (4KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by onnokort (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-23 onnokort StatusNone Done
        Assigned toNone onnokort
        Open/ClosedOpen Closed
    2009-06-07 onnokort Attached File- Added buildsystem-three-in-one.patch, #18237
    2009-06-06 onnokort Attached File- Added kbd-xbm-noclean.patch, #18233
        Attached File- Added pysimulavr-again.patch, #18234
    2009-05-22 onnokort Attached File- Added bfd-dynamic.patch, #18183
        Attached File- Added make-message-bfd.txt, #18184

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code